<link rel='stylesheet' href='<?php echo $this->baseUrl() ?>/public/css/contact-mobile.css'/>
<div id="detail-content">
    <div class="input-contact">
        <h1>
            Contact Us
        </h1>
        <div class='contact-response <?php echo ($this->message) && ($this->message['status'] == 1) ? 'success_repsonse' : 'fail_response'?>' style='<?php echo isset($this->message) ? "" : "display:none"?>'>
            <?php echo $this->message['message'] ?>
        </div>
        <form method='POST' id='frm_contact'>
            <div class='inputs'>
                <div>
                    <div class='label'>
                        Name
                    </div>
                    <input type='text' name='name' id='name' value='<?php echo $this->old_params ? $this->old_params['name'] : '' ?>'/>
                </div>
                <div>
                    <div class='label'>
                        Email
                    </div>
                    <input type='text' name='email' id='email' value='<?php echo $this->old_params ? $this->old_params['email'] : '' ?>'/>
                </div>
                <div>
                    <div class='label'>
                        Phone
                    </div>
                    <input type='text' name='phone' value='<?php echo $this->old_params ? $this->old_params['phone'] : '' ?>'/>
                </div>
                <div>
                    <div class='label'>
                        Message
                    </div>
                    <textarea cols='35' rows='10' name='message' id='message'><?php echo $this->old_params ? $this->old_params['message'] : '' ?></textarea>
                </div>
                <p></p>
                <div>
                    <input class="send-me" value="0" type="checkbox" name="send_me"/> Send me a copy
                </div>
                <div>
                    <input type='submit' value='Send' class='submit' style="padding: 5px 20px"/>
                </div>
            </div>
        </form>
    </div>
</div>
<script src="<?php echo $this->baseUrl() ?>/public/js/jquery-1.10.0.min.js"></script>
<script src='http://ajax.aspnetcdn.com/ajax/jquery.validate/1.11.1/jquery.validate.min.js'></script>
<script src='<?php echo $this->baseUrl() ?>/public/js/contact.js'></script>